package cn.glc.daily.life.web.factory.login;

import cn.glc.daily.life.model.dto.LoginDto;

/**
 * 抽象登录接口
 *
 * @author simon
 * @date 2020/11/10 14:40
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
public abstract class AbstractLoginFactory {

    /**
     * 抽象登录接口,返回uid
     *
     * @param loginDto
     * @return
     */
    public abstract Long login(LoginDto loginDto);

    /**
     * 匹配登录方式
     *
     * @param loginDto
     * @return
     */
    public abstract Boolean match(LoginDto loginDto);
}
